#@public@|coc_list|Shows the avaibles combinations for CPU, OS and compiler
#@public_detailed@|coc_list|Syntax: make coc_list
coc_list:
	$(show) ""                                                           ; \
	echo "------------------------------------------------------------"  ; \
	echo "Valid CPU, OS and compiler valid combinations:"                ; \
	echo "------------------------------------------------------------"  ; \
	echo ""                                                              ; \
	ls $(dir_tool)/cpu_os_comp                                           ; \
	echo ""                                                              ; 


#@public@|coc_info|Displays values of variables used for a CPU, OS and Compiler combination
#@public_detailed@|coc_info|Syntax: make coc_info coc=<coc>
#@public_detailed@|coc_info|Where <coc> is a valid CPU, OS and Compiler combination. Please run 'make coc_list' to list the avaiable combinations
coc_info:
	$(show) ""                                                           ; \
	echo "**************************************** "                     ; \
	echo "Info for CPU, OS and Compiler  '$(coc)'"                       ; \
	echo ""                                                              ; \
	echo "Compiler "                                                     ; \
	value=`grep "cxx=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`              ; \
	echo "    Program                           '$$value'"               ; \
	value=`grep "source_extension=" $(dir_tool)/cpu_os_comp/"$(coc).mk"` ; \
	echo "    Source file extension             '$$value'"               ; \
	value=`grep "header_extension=" $(dir_tool)/cpu_os_comp/"$(coc).mk"` ; \
	echo "    Header file extension             '$$value'"               ; \
	value=`grep "obj_extension=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`    ; \
	echo "    Object file extension             '$$value'"               ; \
	echo ""                                                              ; \
	echo "Compiler flags                        'compile_flags=$(compile_flags)'"  ; \
	echo ""                                                              ; \
	echo "Static library  "                                              ; \
	value=`grep "static_command=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`   ; \
	echo "  Command to create                   '$$value'"               ; \
	value=`grep "static_sufix=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`     ; \
	echo "  Prefix                              '$$value'"               ; \
	value=`grep "static_prefix=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`    ; \
	echo "  Sufix                               '$$value'"               ; \
	echo ""                                                              ; \
	echo "Shared library  "                                              ; \
	value=`grep "shared_command=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`   ; \
	echo "  Command to create                   '$$value'"               ; \
	value=`grep "shared_sufix=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`     ; \
	echo "  Prefix                              '$$value'"               ; \
	value=`grep "shared_prefix=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`    ; \
	echo "  Sufix                               '$$value'"               ; \
	echo ""                                                              ; \
	echo "Program  "                                                     ; \
	value=`grep "program_command=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`  ; \
	echo "  Command to create                   '$$value'"               ; \
	value=`grep "program_sufix=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`    ; \
	echo "  Prefix                              '$$value'"               ; \
	value=`grep "program_prefix=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`   ; \
	echo "  Sufix                               '$$value'"               ; \
	echo ""                                                              ; \
	value=`grep "lib_dir_flag=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`     ; \
	echo "Tag for library dir                   '$$value'"               ; \
	echo ""                                                              ; \
	value=`grep "shared_lib_flag=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`  ; \
	echo "Tag for shared lib                    '$$value'"               ; \
	echo ""                                                              ; \
	value=`grep "inc_dir_flag=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`     ; \
	echo "Tag for include dir                   '$$value'"               ; \
	echo ""                                                              ; \
	echo ""                                                              ; \
	echo "External references for all the Projects "                     ; \
	value=`grep "site_prj_ext_lib_dir=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`; \
	echo "  Libraries dirs                      '$$value'         "      ; \
	value=`grep "site_prj_ext_inc_dir=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`; \
	echo "  Includes dirs                       '$$value'  "             ; \
	value=`grep "site_prj_ext_static_libs=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`; \
	echo "  Static libs                         '$$value'  "             ; \
	value=`grep "site_prj_ext_shared_libs=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`; \
	echo "  Shared libs                         '$$value'   "            ; \
	value=`grep "site_prj_ext_pgms=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`; \
	echo "  Programs                            '$$value'  "             ; \
	echo ""                                                              ; \
	value=`grep "site_prj_minus_d=" $(dir_tool)/cpu_os_comp/"$(coc).mk"` ; \
	echo "Compiler options for all the Projects '$$value' "              ; \
	echo ""                                                              ; \
	echo "External references for all the Tests  "                       ; \
	value=`grep "site_test_ext_lib_dir=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`; \
	echo "  Libraries dirs                      '$$value'           "    ; \
	value=`grep "site_test_ext_inc_dir=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`; \
	echo "  Includes dirs                       '$$value'    "           ; \
	value=`grep "site_test_ext_static_libs=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`; \
	echo "  Static libs                         '$$value'   "            ; \
	value=`grep "site_test_ext_shared_libs=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`; \
	echo "  Shared libs                         '$$value'   "            ; \
	value=`grep "site_test_ext_pgms=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`; \
	echo "  Programs                            '$$value'  "             ; \
	echo ""                                                              ; \
	value=`grep "site_test_minus_d=" $(dir_tool)/cpu_os_comp/"$(coc).mk"`; \
	echo "Compiler options for all the Tests    '$$value'  "             ; \
	echo ""                                                              ; 
